import request from '@/utils/request'
// 分页查询字段列表
export function flowApprover(query) {
	return request({
		url: '/flow/approver',
		method: 'post',
		data: query
	})
}
// 获取审批创建详细信息
export function flowApproverDetail(id) {
	return request({
		url: '/flow/approver/' + id,
		method: 'get'
	})
}

// 添加节点关系
export function addNodeRelation(id) {
	return request({
		url: '/flow/approver/relation/' + id,
		method: 'post'
	})
}

// 获取审批创建详细信息
export function billingCount(query) {
	return request({
		url: '/flow/formData/billingCount',
		method: 'get',
		params: query
	})
}
